#ifndef ENGINE2D_H_
#define ENGINE2D_H_

#include "display/spi_lcd.h"
#include "display/lcd.h"

void gpu2D_Init (void);

void gpu2D_DrawHLine (Line *line, unsigned int color);
void gpu2D_DrawVLine (Line *line, unsigned int color);
void gpu2D_DrawLine  (Line *line, unsigned int color);
void gpu2D_DrawLine2 (int x1, int y1, int x2, int y2 , unsigned int color);

void gpu2D_DrawRect (Rect *rect, unsigned int color);
void gpu2D_FillRect (Rect *rect, unsigned int color);

void gpu2D_DrawCircle (Circle *circle, unsigned int color);
void gpu2D_FillCircle (Circle *circle, unsigned int color);

void gpu2D_DrawTriangle (Triangle *triangle, unsigned int color) ;
void gpu2D_FillTriangle (Triangle *triangle, unsigned int color) ;

#endif /*ENGINgpu2D_H_*/
